# _*_ coding:utf-8 _*_
from pages.base_page import BasePage
from selenium.webdriver.common.by import By


# pages/login_page.py,页面对象模型，子类，继承base_page,存放具体的页面属性
class TallPage(BasePage):
    TALL_LU_BUTTON = (By.XPATH, '/html/body/div[2]/div/exporter-layout/div[1]/span/div',"按钮")
    TALL_BUTTON = (By.XPATH, '/html/body/div[2]/div/exporter-layout/div[3]/div/div/div[1]/div[2]/div/div/div[2]')
    TALL_BUTTON_list = (By.XPATH, '/html/body/div[2]/div/exporter-layout/div[3]/div/div/div[1]/div[2]/div/div/div[1]/div/div/ul/li[14]/div/div')

    def tall_lu(self):
        self.click(self.TALL_LU_BUTTON[0],self.TALL_LU_BUTTON[1])

    def tall(self):
        self.click(self.TALL_BUTTON[0],[1])

    def tall_list(self):
        self.mouse_click(self.TALL_BUTTON[0],self.TALL_BUTTON[1],self.TALL_BUTTON_list[0],self.TALL_BUTTON_list[1],"按钮")
